   <?php
 $hotel_model=$this->load->model('hotel_model');

  $acc_arr = $hotel_model->get_accomodations();
  //print_r($acc_arr);
?>
<div><img src="<?php echo base_url(); ?>images/acc_top.jpg" width="199" height="40" /></div>
      <div id="left_menu">
          <ul>
          <?php
          foreach ($acc_arr as $acc_details) :
          ?>
              <li><a href="<?php echo base_url(); ?>hotel/list_hotels/<?php echo str_replace(" ", "-", $acc_details['accdesc']); ?>/acc_id/<?php echo $acc_details['id']; ?>/asc"><?php echo $acc_details['accdesc']; ?></a></li>
          <?php endforeach; ?>
          </ul>
      </div>
      <div class="clear"></div>
      <div><a href="#" class="more-acc">More Accomodation </a></div>